package com.cheung.shopkeeper.common.utils;

import java.io.Serializable;
import java.util.List;

public class TreeNode implements Serializable{

    private static final long serialVersionUID = 1L;
    
    private List<TreeNode> children;
    
    private String Label;
    
    private Long id;
    
    public TreeNode(){
    }

    public TreeNode(String label, Long id) {
        this.setLabel(label);
        this.setId(id);
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }

    public String getLabel() {
        return Label;
    }

    public void setLabel(String label) {
        Label = label;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    
}
